package com.naiterui.ehp.bs.cms.modules.sys.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.naiterui.ehp.bs.cms.common.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 角色与部门对应关系
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("role_dept")
public class RoleDept extends BaseEntity implements Serializable {
    private static final long serialVersionUID = -1767149643980673074L;

    /**
     * 角色ID
     */
    private Long roleId;

    /**
     * 部门ID
     */
    private Long deptId;

    @TableLogic
    private Integer delFlag;

}
